package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 因为Spring的自动装配, 其实这个注解@EnableTransactionManagement可加可不加
 *
 * @author Shanks
 * @date 2020-10-12
 */
@MapperScan(value = {"com.example.demo.mapper"})
@SpringBootApplication
public class MyBatisPlusGeneratorDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyBatisPlusGeneratorDemoApplication.class, args);
    }
}